<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPage_Home_admin.master" AutoEventWireup="true" CodeFile="Addproduct.aspx.cs" Inherits="admin_Product_Addproduct" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   
   <p>
    <table width="600" border="0" cellspacing="4" cellpadding="0" 
            style="height: 315px">
          <tr>
            <td width="100" align="left" valign="top">Product Name</td>
            <td align="left" valign="top">
                <asp:TextBox ID="txtProductName" runat="server"></asp:TextBox>
              </td>
          </tr>
          <tr>
            <td align="left" valign="top">Categories Name</td>
            <td align="left" valign="top">
                <asp:DropDownList ID="ddlCateName" runat="server" DataSourceID="SqlDataSource1" 
                    DataTextField="TypeProduct_Name" DataValueField="TypeProduct_ID" 
                    AutoPostBack="True" onselectedindexchanged="ddlCateName_SelectedIndexChanged" 
                    >
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ShoppingOnlineConnectionString %>" 
                    SelectCommand="SELECT * FROM [ProductType]"></asp:SqlDataSource>
              </td>
          </tr>
          <tr>
            <td align="left" valign="top">Quantity</td>
            <td align="left" valign="top">
                <asp:TextBox ID="txtQuantity" runat="server"></asp:TextBox>
              </td>
          </tr>
          <tr>
            <td align="left" valign="top">Price</td>
            <td align="left" valign="top">
                <asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>
              </td>
          </tr>
          <tr>
            <td align="left" valign="top">Product_SaleOff</td>
            <td align="left" valign="top">
                <asp:TextBox ID="txtProductSale" runat="server"></asp:TextBox>
              </td>
          </tr>
           <tr>
            <td align="left" valign="top">Details</td>
            <td align="left" valign="top">
                <asp:TextBox ID="txtDetails" runat="server" Height="63px" TextMode="MultiLine" 
                    Width="219px"></asp:TextBox>
              </td>
          </tr>
          <tr>
            <td align="left" valign="top">Image</td>
            <td align="left" valign="top">
                <asp:FileUpload ID="fuImg" runat="server" />
              </td>
          </tr>
         
          <tr>
            <td align="left" valign="top">
                <asp:Button ID="btnAdd" runat="server" onclick="btnAdd_Click" Text="Add" />
              </td>
            <td align="left" valign="top">&nbsp;</td>
          </tr>
          </table>
    
   </p>
        <br />
       
</asp:Content>

